package com.example.finalwork2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.finalwork2.entity.VehicleInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface VehicleInfoMapper extends BaseMapper<VehicleInfo> {
    @Select("SELECT * FROM vehicle_info WHERE frame_no = #{carId}")
    VehicleInfo selectByframeNo(String carId);
}
